﻿#ifndef POSTCOMMAND_CMDTHREEDSURFACEPLOTSIDEBARDATAOPRATIONCHANGED_H
#define POSTCOMMAND_CMDTHREEDSURFACEPLOTSIDEBARDATAOPRATIONCHANGED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdThreeDSurfacePlotSidebarDataOprationChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdThreeDSurfacePlotSidebarDataOprationChanged();
        ~CmdThreeDSurfacePlotSidebarDataOprationChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setThreeDSurfacePlotSidebarDataOprationChanged(int windowId, bool isLoged, bool isNormalized);

    private:
        int m_windowId;
        bool m_isLoged;
        bool m_isNormalized;
    };
} // namespace PostCommand

#endif
